﻿namespace KAs.Application.Contract.Dto;

/// <summary>
/// 分页返回对象
/// </summary>
/// <typeparam name="T">业务dto</typeparam>
public class PageReturnDto<T>
{
    /// <summary>
    /// 页索引
    /// </summary>
    public int PageIndex { get; set; }
    /// <summary>
    /// 页大小
    /// </summary>
    public int PageSize { get; set; }
    /// <summary>
    /// 总页数
    /// </summary>
    public int PageCount { get; set; }
    /// <summary>
    /// 数据总数
    /// </summary>
    public int TotalCount { get; set; }
    /// <summary>
    /// 当前页数据
    /// </summary>
    public List<T> Data { get; set; }
}
